<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title><%= _locals.setting.ADMIN_WEB_NAME %></title>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery/jquery.min.js"></script>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery.ui/jquery-ui-1.10.4.custom.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/numeric/numeric.min.js"></script>


    <!-- Bootstrap -->
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!--side menu plugin-->
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/hoe-nav/hoe.css" rel="stylesheet">
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.multiselect/css/bootstrap-multiselect.css" rel="stylesheet">
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.listbox/bootstrap-duallistbox.css" rel="stylesheet">

    <!-- icons-->
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ionicons/css/ionicons.min.css" rel="stylesheet">
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/vectormap/jquery-jvectormap-2.0.2.css" rel="stylesheet"/>
    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/morris/morris-0.4.3.min.css" rel="stylesheet">
    <!--template custom css file-->

    <link rel="stylesheet" href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ztree/zTreeStyle/zTreeStyle.css">
    <link href="/<%= _locals.setting.__ADMIN_STATIC__ %>/css/style.css" rel="stylesheet">

    <link rel="stylesheet" href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.fileinput/css/fileinput.min.css">

    <link rel="stylesheet" href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery.ui/jquery-ui-1.10.4.custom.min.css">

    <link href="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/video/video.css" rel="stylesheet">

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/echarts/echarts.min.js"></script>

    <!-- If you'd like to support IE8 -->
    <script src="/<%= _locals.setting.__ADMIN_STATIC__ %>/js/modernizr.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!--Common plugins-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery/jquery-2.2.4.min.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery/jquery-migrate-3.0.0.min.js"></script>-->

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jquery.ui/touch-punch.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/fabric/fabric.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/pace/pace.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="/<%= _locals.setting.__ADMIN_STATIC__ %>/js/app.js"></script>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ztree/jquery.ztree.all.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/arttemplate/template.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jqgrid/grid.locale-cn.js"></script>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/plupload/plupload.full.min.js"></script>

    <script type="text/javascript" charset="utf-8" src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ueditor/ueditor.all.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/ueditor/lang/zh-cn/zh-cn.js"></script>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/hoe-nav/hoe.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jqgrid/jqgrid.sub.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.multiselect/js/bootstrap-multiselect.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.listbox/jquery.bootstrap-duallistbox.js"></script>

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.fileinput/js/fileinput.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootstrap.fileinput/js/locales/zh.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/jscolor/jscolor.min.js"></script>




    <!--博客页面的视频播放 video.js-->
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/video/video.js"></script>
    <!--page scripts-->
    <!-- Flot chart js -->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/flot/jquery.flot.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/flot/jquery.flot.tooltip.min.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/flot/jquery.flot.resize.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/flot/jquery.flot.pie.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/flot/jquery.flot.time.js"></script>-->
    <!--vector map-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/vectormap/jquery-jvectormap-2.0.2.min.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/vectormap/jquery-jvectormap-world-mill-en.js"></script>-->
    <!-- ChartJS-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/chartJs/Chart.min.js"></script>-->
    <!--dashboard custom script-->
    <!--<script src="/<%= _locals.setting.__ADMIN_STATIC__ %>/js/dashboard.js"></script>-->

    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/plupload/moxie.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/plupload/zh_CN.js"></script>-->
    <!--<script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/qiniu/qiniu.min.js"></script>-->

    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/bootbox/bootbox.min.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/vendors/layer/layer.js"></script>
    <script src="/<%= _locals.setting.__JAVASCRIPT__ %>/sea.js"></script>
</head>
<body hoe-navigation-type="vertical" hoe-nav-placement="left" theme-layout="wide-layout">

<!--side navigation start-->
<div id="hoeapp-wrapper" class="hoe-hide-lpanel" hoe-device-type="desktop">
    <header id="hoe-header" hoe-lpanel-effect="shrink">
        <div class="hoe-left-header">
            <a href="javascript:;"><img src="/<%= _locals.setting.__ADMIN_STATIC__ %>/images/logo_mini.png" width="32">
                <span><img src="/<%= _locals.setting.__ADMIN_STATIC__ %>/images/logo_txt.png" width="74" height="32"></span></a>
            <span class="hoe-sidebar-toggle"><a href="javascript:;"></a></span>
        </div>

        <div class="hoe-right-header" hoe-position-type="relative">
            <span class="hoe-sidebar-toggle"><a href="javascript:;"></a></span>
            <!--<ul class="left-navbar">-->
            <!--<li>-->
            <!--<div class="top-search hidden-xs">-->
            <!--<form>-->
            <!--<input type="text" class="form-control" placeholder="Search here">-->
            <!--<i class="ion-search"></i>-->
            <!--</form>-->
            <!--</div>-->
            <!--</li>-->
            <!--</ul>-->
            <ul class="right-navbar navbar-right">
                <li class="dropdown">
                    <a href="javascript:;" data-toggle="dropdown" class="dropdown-toggle"> <%= account %></a>
                    <ul class="dropdown-menu dropdown-menu-scale user-dropdown">
                        <li><a href="javascript:;"><i class="ion-ios-compose"></i> 修改密码 </a></li>
                        <li><a href="javascript:;" id="logout"><i class="ion-log-out"></i> 安全退出 </a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </header>
    <div id="hoeapp-container" hoe-color-type="lpanel-bg<%= _locals.setting.__ADMIN_STATIC__.indexOf('/dark')>=0?5:7 %>" hoe-lpanel-effect="shrink">
        <aside id="hoe-left-panel" hoe-position-type="absolute">

            <ul class="nav panel-list" id="navigation_left">

                <li class="active">
                    <a href="javascript:;">
                        <i class="fa fa-home"></i>
                        <span data-url="<%= data.index_view %>" class="menu-text">首页</span>
                        <span class="selected"></span>
                    </a>
                </li>

                <% if(data.menus && data.menus.length) { %>
                <% data.menus.forEach(function(menu, mi){ %>
                <li class="<% if(menu.nav_menu) { %>hoe-has-menu<% } %>">
                    <a href="javascript:void(0)">
                        <i class="<%= menu.icon||'fa fa-th-large' %>"></i>
                        <span data-url="<%= menu.view %>" class="menu-text"><%= menu.title %></span>
                        <span class="selected"></span>
                    </a>

                    <% if(menu.nav_menu) { %>
                    <ul class="hoe-sub-menu">
                        <% if(menu.nav_menu && menu.nav_menu.length) { %>
                        <% menu.nav_menu.forEach(function(nav_item, ni){ %>

                        <li class="<% if(nav_item.third_menu) { %>hoe-has-menu<% } %>">
                            <a href="javascript:void(0)">
                                <span data-url="<%= nav_item.view %>" class="menu-text"><%= nav_item.title %></span>
                                <span class="selected"></span>
                            </a>

                            <% if(nav_item.third_menu) { %>
                            <ul class="hoe-sub-menu">

                                <% if(nav_item.third_menu && nav_item.third_menu.length) { %>
                                <% nav_item.third_menu.forEach(function(third, ti){ %>
                                <li>
                                    <a href="javascript:void(0)">
                                        <span data-url="<%= third.view %>" class="menu-text"><%= third.title %></span>
                                        <span class="selected"></span>
                                    </a>
                                </li>
                                <% }) %>
                                <% } %>
                            </ul>
                            <% } %>

                        </li>
                        <% }) %>
                        <% } %>
                    </ul>
                    <% } %>
                </li>
                <% }) %>
                <% } %>
            </ul>
        </aside><!--aside left menu end-->


        <!--start main content-->
        <section id="main-content">
            <!--<div class="space-20"></div>-->
            <div class="container">
                <!--<div class="row">-->
                <div id="page-wrapper">

                </div>
                <!--</div>-->
            </div>
        </section><!--end main content-->
    </div>
</div><!--end wrapper-->


<div id="upload_host" style="display: none;"><%= uploadHost %></div>

<script>
    seajs.config({
        alias: {},
        debug: 0
        // 0: 只输出少量信息 1：输出大量信息 2：对已加载的文件不进行缓存
    });
    seajs.use('webapp/admin/admin.js?'+Math.random(), function (i) {
        i.init();
    });
</script>
</body>
</html>